package com.mutual.service.impl;

import java.math.BigDecimal;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mutual.dao.FinanceDao;
import com.mutual.entity.Finance;
import com.mutual.service.FinanceService;

@Service("financeServiceImpl")
@Transactional(value = "transactionManager")
public class FinanceServiceImpl implements FinanceService{

	@Resource
	private FinanceDao financeDao;
	
	@Override
	public void deleteByPrimaryKey(String id) {
	}

	@Override
	public void insert(Finance record) {
		financeDao.insert(record);
	}

	@Override
	public void insertSelective(Finance record) {
		financeDao.insertSelective(record);
	}

	@Override
	public Finance selectByPrimaryKey(String id) {
		return financeDao.selectByPrimaryKey(id);
	}


	@Override
	public void updateByPrimaryKeySelective(Finance record) {
	}

	@Override
	public void updateByPrimaryKey(Finance record) {
	}

	@Override
	public void updateYuE(String id,BigDecimal number) {
		financeDao.updateYue(id,number);
	}

}
